@charset "UTF-8";
.bar_graph {
  overflow: hidden;
  height: 440px;
  &_desc {
    float: left;
    width: 250px;
    position: relative;
    top: 130px;
    left: 100px;
    font-size: 13px;
  }
  &_btn {
    margin-top: 25px;
    position: relative;
    color: #fff;
    font-size: 15px;
    width: 150px;
    height: 35px;
    display: inline-block;
    border-radius: 6px;
    line-height: 35px;
    transition: all 0.3s ease;
    background-color: #4573de;
    text-align: center;
    border-radius: 30px;

    &:hover {
      background-color: #3361D8;
      color: #fff;
    }
  }
}
.bar_axis {
  display: inline-block;
  margin-left: 80px;
  margin-top: -50px;
  float: left;
  // &_x_item {
  //   &:nth-child(1) {
  //     .bar_axis_bar {
  //       background-color: #D0DEF8;
  //     }
  //   }
  //   &:nth-child(2) {
  //     .bar_axis_bar {
  //       background-color: #B8F0D1;
  //     }
  //   }
  //   &:nth-child(3) {
  //     .bar_axis_bar {
  //       background-color: #FFC8C8;
  //     }
  //   }
  //   &:nth-child(5) {
  //     .bar_axis_bar {
  //       background-color: #FFEFC0;
  //     }
  //   }
  //   &:nth-child(6) {
  //     .bar_axis_bar {
  //       background-color: #C0C6CE;
  //     }
  //   }
  //   &:nth-child(7) {
  //     .bar_axis_bar {
  //       background-color: #D7E4FE;
  //     }
  //   }
  // }

  &_bar {
    display: inline-block;
    height: 100%;
    width: 18px;
    border: 3px solid #ECF5FD;
    box-sizing: border-box;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    position: absolute;
    // background-color: #4573de;
    background-color: #D0DEF8;
    left: 50%;
    top: -100%;
    margin-top: 3px;
    margin-left: -7.5px;
    &.nerv {
      border: 3px solid #a0c4ed;
      background-color: #4573de !important;
    }
  }
  &_name {
    background-color: #fff;
    display: inline-block;
    position: relative;
    top: 0px;
    z-index: 10;
  }
  &_x {
    height: 30px;
    width: 100%;
    margin-left: 25px;
    li {
      height: 0;
      margin-top: -4px;
      position: relative;
      width: 55px;
      text-align: center;
      float: left;
      transition: all 0.5s ease;
    }
  }
  &_y {
    position: relative;
    top: 85px;
    li {
      height: 100px;
      position: relative;
      &::after {
        content: '';
        display: block;
        position: absolute;
        left: 25px;
        top: 10px;
        width: 100%;
        height: 1px;
        background-color: rgba(36, 40, 54, 0.2);
      }
    }
  }
}
